package com.cheifsteam.springframework;

import com.cheifsteam.springframework.context.ApplicationListener;

/**
 * @author 屈燃希
 * @date 2025/2/18 17:47
 * @content
 */
public class CustomEventListener implements ApplicationListener<CustomEvent> {
    @Override
    public void onApplicationEvent(CustomEvent event){
        System.out.println("收到自定义事件：" + event.getId() + "消息内容：" + event.getMessage());


    }
}
